import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import resume from '../views/resume'
import resumeZH from '../views/resumeZH'
import socket from '@/views/socketTest'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/resume',
      name: 'resume',
      component: resume
    },
    {
      path: '/resumeZH',
      name: 'resumeZH',
      component: resumeZH
    },
    {
      path: '/socket',
      name: 'socket',
      component: socket
    }
  ]
})
